Django quick setup

July 11, 2021

Django quick setup

Django is one of the famous Python framework for fastest way to build web applications and rest APIs using various available plugins.In this article, lets see how you can setup a django project in simple steps.

Pre-requisites

Python installed in your machine

Steps

  1. Env setup

    $ pip3 install pipenv
  2. Creating project

    $ mkdir django-sample
    $ cd django-sample
    $ pipenv install django
  3. Activate your virtual env

    $ pipenv shell
  4. Using django-admin

    $ django-admin startproject django-sample .
    $ python manage.py startapp playground